<template>
  <div>
    <el-form>
      <el-row :gutter="20">
        <el-col :span="6">
          <el-form-item>
            <el-input v-model="curFormData.Level" placeholder="请输入优先级"></el-input>
          </el-form-item>
        </el-col>
<!--        <el-col :span="6">-->
<!--          <el-form-item>-->
<!--            <select-diction v-model="formData.Status" DictTypeCode="TASK_STATUS" placeholder="请选择严重程度"></select-diction>-->
<!--          </el-form-item>-->
<!--        </el-col>-->
        <el-col :span="6">
          <el-form-item>
            <select-diction v-model="curFormData.Type" DictTypeCode="TASK_TYPE" placeholder = "请选择分类"></select-diction>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item>
<!--            <vxe-textarea v-model="curFormData.Desc" :autosize="{-->
<!--              minRows: 6,-->
<!--              maxRows: 6-->
<!--            }" placeholder = "请输入备注"></vxe-textarea>-->
            <tip-tap v-model="curFormData.Desc" height="300px"></tip-tap>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
import SelectDiction from '@/components/element/SelectDiction'
import tipTap from "@/components/element/tipTap";

export default {
  name: "baseInfo",
  components: {
    SelectDiction,
    tipTap
  },
  props: {
    formData: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  computed: {
    curFormData: {
      get () {
        return this.formData
      },
      set (val) {
        this.$emit('update:formData', val)
      }
    }
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>
.el-date-editor {
  width: 100%;
}
</style>